﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TraceabilityApp_Domain
{
    /// <summary>
    /// 养殖企业信息(Firm)			
    /// </summary>
    public class FirmModel:BaseEntity
    {
        /// <summary>
        /// 企业id(主键标识)
        /// </summary>
        [Key]
        public int FirmId { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string Livestock { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string ResponsibleName { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int Herd { get; set; }
        /// <summary>
        /// 生产批次(整个系统唯一)
        /// </summary>
        public string Batch {  get; set; }
    }
}
